package marchsoft.modules.tiku.service.mapstruct;

import marchsoft.modules.tiku.entity.ERepository;
import marchsoft.modules.tiku.entity.dto.ERepositoryDto;
import marchsoft.modules.tiku.entity.excel.RepositoryExcel;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

import java.util.List;


/**
 * Description：
 *
 * @author zhansiyu
 * Date: 2022/4/17 16:05
 **/
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface RepositoryMapStruct {
    ERepository toRepositoryDto(ERepositoryDto repository);

    List<ERepository> excel(List<RepositoryExcel> cachedDataList);
}
